package math

type CompareType interface {
	string | ~int | ~float64
}

func Max[T CompareType](a, b T) T {
	if a > b {
		return a
	}
	return b
}
